package cn.zjk.test.bean;

import cn.zjk.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @description:
 * @Author zjk
 * @className: TempServiceBeforeAdvice
 * @date: 2023/4/3 16:53
 */
public class TempServiceBeforeAdvice implements MethodBeforeAdvice {
    @Override
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("拦截方法："+method.getName());
    }
}
